HW 05: hmc 3.0

Add control-flow features to your x86-64 compiler.

Goals

The main goals of this assignment are:

  • Add conditionals and loops to our programming language.
  • Continue to practice modifying the full range of the compiler: the parser, the intermediate representation(s), the emitter, the runtime, the compiler state.

Files

As with last week, continue working in your same repository. If you have been working in a group and want to work alone (or vice versa), you can combine / split repos as needed!

Reference implementation for hmc 2.0

There is a reference implementation for the previous assignment, in our GitHub organization.